package com.multidisplay.po;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class VisitorLog {
    private String id;
    private String webPageFlag;
    private String ip;
    private String equipmentFlag;

    @ApiModelProperty(value = "VisitorLog时间")
    @TableField(fill = FieldFill.INSERT)    //自动填充
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date visitorTime;
}
